package cn.iocoder.yudao.module.train.controller.admin.studentcoursescore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 学生课程成绩新增/修改 Request VO")
@Data
public class StudentCourseScoreSaveReqVO {

    @Schema(description = "学生课程成绩ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1148")
    private Integer id;

    @Schema(description = "班级ID", example = "6695")
    private Integer classesId;

    @Schema(description = "学生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12812")
    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @Schema(description = "成绩分数")
    private BigDecimal score;

    @Schema(description = "成绩等级")
    private String level;

}
